#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#偏函数

from functools import partial

int2 = partial(int, base = 2)

int8 = partial(int, base = 8)

int16 = partial(int, base = 16)



int2('100')

int8('100')

int16('100')